package com.example.questionservice.service;

import com.example.questionservice.entity.Question;
import com.example.questionservice.entity.QuestionWrapper;
import com.example.questionservice.entity.Response;

import java.util.List;


public interface QuestionService {
    List<Question> getAllQuestions();
    List<Question> getQuestionsByCategory(String category);

     Question addQuestion(Question question);

    List<Integer> generateQuestionsforQuiz(String category, int numOfQuestions);

    List<QuestionWrapper> getQuestionsByIds(List<Integer> questionIds);

    Integer getScore(List<Response> responses);
}
